/*
 * Created on Feb 17, 2004
 *
 * Author: Sandeep Prakash. Modified by Boon Siew & Klarinda
 * Project: Sucxentv2 (using leaf nodes only)
 */
package dbsucxentW.storageW.loadersW;

import java.sql.Connection;
import dbsucxentW.storageW.entitiesW.PathCollection;
import dbsucxentW.storageW.parserW.DocumentSummary;

/**
 * @author Administrator
 *
 * 
 */
public abstract class XmlShredder {
    // <editor-fold desc="File">
    private String _file; //File to be shredded;

    public String getFile() {
        return _file;
    }

    public void setFile(String file) {
        _file = file;
    }
    // </editor-fold>

    protected DocumentSummary _summary;
    protected PathCollection _paths;
    protected Store _store;
    protected Connection _dbConnection;
    protected String _dbName;	//klarinda 20060905

    public XmlShredder(String file, Connection dbConnection, String dbName) {
        this._file = file;
        this._dbConnection = dbConnection;
        this._dbName = dbName;
    }

    public abstract void shred() throws Exception;
}
